import request from '@/util/request'

// news list
export function list(data) {
  return request({
    url: '/api/news/list',
    method: 'post',
    data
  })
}

// news view
export function view(data) {
  return request({
    url: '/api/news/view',
    method: 'post',
    data
  })
}
